package com.be.beadmin.product.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description: 柜体工序BOP信息
 * @author: Jiaming Zheng
 * @Date: Create in 15:48 2023/3/19
 * @Modified By:
 **/

@Entity
@Table(name="T_OM_PlantCapacityCalendar")
@Getter
@Setter
public class PlantCapacityCalendar extends BaseEntity {

    @Column(name = "BatchProductId",columnDefinition = "VARCHAR(50) COMMENT '柜体ID'")
    private String batchProductId;

    @Column(name = "BatchProductCode",columnDefinition = "VARCHAR(50) COMMENT '柜体编号'")
    private String batchProductCode;

    @Column(name = "ProjectCode",columnDefinition = "VARCHAR(50) COMMENT '项目Code'")
    private String projectCode;

    @Column(name = "ProjectName",columnDefinition = "VARCHAR(50) COMMENT '项目name'")
    private String projectName;

    @Column(name = "BatchPlanId",columnDefinition = "VARCHAR(50) COMMENT '批次Id'")
    private String batchPlanId;

    @Column(name = "BatchPlanCode",columnDefinition = "VARCHAR(50) COMMENT '批次编号'")
    private String batchPlanCode;

    @Column(name = "ProcessSequence",columnDefinition = "VARCHAR(50) COMMENT '加工顺序号'")
    private Integer processSequence;

    @Column(name = "ProcessId",columnDefinition = "VARCHAR(50) COMMENT '工序ID'")
    private String processId;

    @Column(name = "ProcessName",columnDefinition = "VARCHAR(50) COMMENT '加工工序名称'")
    private String processName;

    @Column(name = "ProcessCode",columnDefinition = "VARCHAR(50) COMMENT '加工工序编码'")
    private String processCode;

    @Column(name = "FactoryCode",columnDefinition = "VARCHAR(50) COMMENT '加工车间Code'")
    private String factoryCode;

    @Column(name = "FactoryName",columnDefinition = "VARCHAR(50) COMMENT '车间描述'")
    private String factoryName;

    @Column(name = "FactoryId",columnDefinition = "VARCHAR(50) COMMENT '加工车间ID'")
    private String factoryId;

    @Column(name = "Date",columnDefinition = "datetime COMMENT '日期'")
    private Date date;

    @Column(name = "WorkHour",columnDefinition = "float COMMENT '工时'")
    private Float workHour;

    @Column(name = "RealWorkHour",columnDefinition = "float COMMENT '实际工时'")
    private Float realWorkHour;

    @Column(name = "Memo", columnDefinition = "VARCHAR(50) COMMENT '备注' ")
    private String memo;


    @Column(name = "UserId", columnDefinition = "VARCHAR(50) COMMENT '用户id' ")
    private String userId;

    @Column(name = "UserName", columnDefinition = "VARCHAR(50) COMMENT '用户名' ")
    private String userName;
}
